

const Selected = React.createClass({

    render (){
        if (this.props.checked) {
            return (
                <span className="titBtn">{(this.props.name || this.props.subject.name)}
                    <i
                        onClick={()=> {
                            this.props.onremove();
                        }}
                        className="fa fa-times"></i>
            </span>
            )
        } else {
            return (
                <span></span>
            )
        }


    }
});

const Label = React.createClass({
    render (){
        return (
            <label className="col-sm-2 control-label">{this.props.children}</label>
        )
    }
});

const FormGroup = React.createClass({
    render (){
        return (
            <div className={"form-group " + this.props.className}>{this.props.children}</div>
        )
    }
});
const InputGroup = React.createClass({
    render (){
        return (
            <div className="col-sm-10">{this.props.children}</div>
        )
    }
});

export default React.createClass({

    render(){
        return <div></div>
    }
})